package com.kaily.timemanager.data;

/**
 * Created by zhoulikai on 17/3/2.
 * 数据回调监听器。用来连接P与M层连接的接口
 */

public interface DataListener<M> {

    public abstract void onSuccess(M model);

    public abstract void onFailure(String msg);

    public abstract void onFinish();
}
